package com.wit.po;

import java.util.Date;

/**
 * Policy entity. @author MyEclipse Persistence Tools
 */

public class Policy implements java.io.Serializable {

	// Fields

	private String policyId;
	private Employee employee;
	private Insurancedef insurancedef;
	private Client client;
	private String insurancedPerson;
	private String benefitedPerson;
	private Date insuranceDate;
	private Date insuranceStartDate;
	private Date insuranceEndDate;
	private Double otherFee;
	private Double sumFee;
	private Double netprem;
	private Integer expendTimes;
	private String sourceDesc;
	private Integer expendPeriod;
	private String expendWay;
	private String getWay;
	private String shareWay;
	private Integer amount;
	private Boolean isCountinue;
	private Boolean isEffect;
	private Boolean isAudit;
	private Boolean isMarked;
	private Boolean isLifetime;
	private String sourceId;
	private Boolean isLong;
	private Integer touId;
	// Constructors

	/** default constructor */
	public Policy() {
	}

	/** minimal constructor */
	public Policy(String policyId) {
		this.policyId = policyId;
	}

	/** full constructor */
	public Policy(String policyId, Employee employee,
			Insurancedef insurancedef, Client client, String insurancedPerson,
			String benefitedPerson, Date insuranceDate,
			Date insuranceStartDate, Date insuranceEndDate, Double otherFee,
			Double sumFee, Double netprem, Integer expendTimes,
			String sourceDesc, Integer expendPeriod, String expendWay,
			String getWay, String shareWay, Integer amount,
			Boolean isCountinue, Boolean isEffect, Boolean isAudit,
			Boolean isMarked, Boolean isLifetime, String sourceId,Integer touId,
			Boolean isLong) {
		this.policyId = policyId;
		this.employee = employee;
		this.insurancedef = insurancedef;
		this.client = client;
		this.insurancedPerson = insurancedPerson;
		this.benefitedPerson = benefitedPerson;
		this.insuranceDate = insuranceDate;
		this.insuranceStartDate = insuranceStartDate;
		this.insuranceEndDate = insuranceEndDate;
		this.otherFee = otherFee;
		this.sumFee = sumFee;
		this.netprem = netprem;
		this.expendTimes = expendTimes;
		this.sourceDesc = sourceDesc;
		this.expendPeriod = expendPeriod;
		this.expendWay = expendWay;
		this.getWay = getWay;
		this.shareWay = shareWay;
		this.amount = amount;
		this.isCountinue = isCountinue;
		this.isEffect = isEffect;
		this.isAudit = isAudit;
		this.isMarked = isMarked;
		this.isLifetime = isLifetime;
		this.sourceId = sourceId;
		this.isLong = isLong;
		this.touId=touId;
	}

	// Property accessors

	public String getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(String policyId) {
		this.policyId = policyId;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Insurancedef getInsurancedef() {
		return this.insurancedef;
	}

	public void setInsurancedef(Insurancedef insurancedef) {
		this.insurancedef = insurancedef;
	}

	public Client getClient() {
		return this.client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public String getInsurancedPerson() {
		return this.insurancedPerson;
	}

	public void setInsurancedPerson(String insurancedPerson) {
		this.insurancedPerson = insurancedPerson;
	}

	public String getBenefitedPerson() {
		return this.benefitedPerson;
	}

	public void setBenefitedPerson(String benefitedPerson) {
		this.benefitedPerson = benefitedPerson;
	}

	public Date getInsuranceDate() {
		return this.insuranceDate;
	}

	public void setInsuranceDate(Date insuranceDate) {
		this.insuranceDate = insuranceDate;
	}

	public Date getInsuranceStartDate() {
		return this.insuranceStartDate;
	}

	public void setInsuranceStartDate(Date insuranceStartDate) {
		this.insuranceStartDate = insuranceStartDate;
	}

	public Date getInsuranceEndDate() {
		return this.insuranceEndDate;
	}

	public void setInsuranceEndDate(Date insuranceEndDate) {
		this.insuranceEndDate = insuranceEndDate;
	}

	public Double getOtherFee() {
		return this.otherFee;
	}

	public void setOtherFee(Double otherFee) {
		this.otherFee = otherFee;
	}

	public Double getSumFee() {
		return this.sumFee;
	}

	public void setSumFee(Double sumFee) {
		this.sumFee = sumFee;
	}

	public Double getNetprem() {
		return this.netprem;
	}

	public void setNetprem(Double netprem) {
		this.netprem = netprem;
	}

	public Integer getExpendTimes() {
		return this.expendTimes;
	}

	public void setExpendTimes(Integer expendTimes) {
		this.expendTimes = expendTimes;
	}

	public String getSourceDesc() {
		return this.sourceDesc;
	}

	public void setSourceDesc(String sourceDesc) {
		this.sourceDesc = sourceDesc;
	}

	public Integer getExpendPeriod() {
		return this.expendPeriod;
	}

	public void setExpendPeriod(Integer expendPeriod) {
		this.expendPeriod = expendPeriod;
	}

	public String getExpendWay() {
		return this.expendWay;
	}

	public void setExpendWay(String expendWay) {
		this.expendWay = expendWay;
	}

	public String getGetWay() {
		return this.getWay;
	}

	public void setGetWay(String getWay) {
		this.getWay = getWay;
	}

	public String getShareWay() {
		return this.shareWay;
	}

	public void setShareWay(String shareWay) {
		this.shareWay = shareWay;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Boolean getIsCountinue() {
		return this.isCountinue;
	}

	public void setIsCountinue(Boolean isCountinue) {
		this.isCountinue = isCountinue;
	}

	public Boolean getIsEffect() {
		return this.isEffect;
	}

	public void setIsEffect(Boolean isEffect) {
		this.isEffect = isEffect;
	}

	public Boolean getIsAudit() {
		return this.isAudit;
	}

	public void setIsAudit(Boolean isAudit) {
		this.isAudit = isAudit;
	}

	public Boolean getIsMarked() {
		return this.isMarked;
	}

	public void setIsMarked(Boolean isMarked) {
		this.isMarked = isMarked;
	}

	public Boolean getIsLifetime() {
		return this.isLifetime;
	}

	public void setIsLifetime(Boolean isLifetime) {
		this.isLifetime = isLifetime;
	}

	public String getSourceId() {
		return this.sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public Boolean getIsLong() {
		return this.isLong;
	}

	public void setIsLong(Boolean isLong) {
		this.isLong = isLong;
	}

	public Integer getTouId() {
		return touId;
	}

	public void setTouId(Integer touId) {
		this.touId = touId;
	}
	

}